import pandas as pd


data = [["Google",10],["Runoob",12],["wiki",13]]

# 创建DataFrame
df = pd.DataFrame(data,columns=["Site","Age"])

# 使用astype方法设置没类的数据类型
df['Site'] = df['Site'].astype(str)
df['Age'] = df['Age'].astype(float)

print(df)